package com.bto.solar.work.dto.lease;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Administrator
 */
@NoArgsConstructor
@Data
public class LeaseApprovaledNotifyResp {
    @JsonProperty("body")
    private Body body;
    @JsonProperty("head")
    private Head head;
    @NoArgsConstructor
    @Data
    public static class Body {
        @JsonProperty("message")
        private String message;
        @JsonProperty("type")
        private String type;
        @JsonProperty("businessKey")
        private String businessKey;
    }

    @NoArgsConstructor
    @Data
    public static class Head {
        @JsonProperty("errorCode")
        private String errorCode;
        @JsonProperty("errorMessage")
        private String errorMessage;
        @JsonProperty("serialNumber")
        private String serialNumber;
        @JsonProperty("systemId")
        private String systemId;
        @JsonProperty("transactionCode")
        private String transactionCode;
        @JsonProperty("transactionTime")
        private String transactionTime;
        @JsonProperty("version")
        private Integer version;
    }

}
